Add includesOwnedAudienceGroups Parameter to Audience API #1602
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
line/line-openapi#105
Enhancement to Shared Audiences API
This PR introduces a new query parameter
includesOwnedAudienceGroups
to the/v2/bot/audienceGroup/shared/list
endpoint in the Business Manager API. This enhancement allows users to specify whether to include audience groups owned by the user in the response.Changes Made
includesOwnedAudienceGroups
parameter to the API endpoint.true
: Include audience groups owned by the LINE Official Account Manager.false
: Respond only with audience groups shared by Business Manager./v2/bot/audienceGroup/{audienceGroupId}/activate
and/v2/bot/audienceGroup/authorityLevel
endpoints.Purpose
This update provides more flexibility in retrieving audience groups by allowing users to filter based on ownership. It is especially useful for users who manage both shared and owned audience groups. The removal of certain endpoints is part of a cleanup effort to streamline the API.
Please review the changes and let me know if there are any questions or further modifications needed.
Documents and Reference
For more information, please refer to the links provided above.